#import "Connector.h"
#import "../JSON/JSON.h"
#import "../data/DataModel.h"

#define ERROR_QUERY_RETURN_NIL @"error: Query.query, return value is nil, have you inited the Query class? or the internet connection is not valid?"
#define TOO_BIG 100000

@interface Query: NSObject{
	Connector * con;
	SBJsonWriter *writer;
	SBJsonStreamParser *parser;
	NSString * errorMsg;
}

+(NSObject *)query:(NSObject *)o;
+(int)getVersion;
+(Menu *)listMenu;
+(Category *)listCategory;
+(int)startTable;

@end
